﻿using System;
using System.Collections.Generic;
using System.Text;
using OpenLab.DAL;
using OpenLab.Model;

namespace OpenLab.BLL
{

    public partial class GermeBLL
    {
        public Germe Add(Germe germe)
        {
            return new GermeDAL().Add(germe);
        }

        public int DeleteById(int id)
        {
            return new GermeDAL().DeleteById(id);
        }

		public int Update(Germe germe)
        {
            return new GermeDAL().Update(germe);
        }
        

        public Germe GetById(int id)
        {
            return new GermeDAL().GetById(id);
        }
		public int GetTotalCount()
		{
			return new GermeDAL().GetTotalCount();
		}
		
		public IEnumerable<Germe> GetPagedData(int minrownum,int maxrownum)
		{
			return new GermeDAL().GetPagedData(minrownum,maxrownum);
		}
		
		public IEnumerable<Germe> GetAll()
		{
			return new GermeDAL().GetAll();
		}
    }
}
